package com.company.cloud.mall.modules.mgr.controller.req;

import javax.validation.constraints.NotNull;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class OrderSendItem {

	 @ApiModelProperty(value = "订单明细ID" ,required = true)
	 @NotNull(message = "订单明细ID不能为空")
	 private Integer orderItemId;
	
	 @ApiModelProperty(value = "数量" ,required = true)
	 @NotNull(message = "数量不能为空")
     private Integer quantity;
	 
	 public OrderSendItem(Integer orderItemId,Integer quantity) {
		 this.orderItemId=orderItemId;
		 this.quantity=quantity;
	 }
	 
	 public OrderSendItem() {
		 
	 }
	 
	 
}
